# -.- coding:utf-8 -.-
__author__ = 'vivi'
#健盘事件&鼠标事件

#健盘事件
# from selenium import webdriver
# from selenium.webdriver.common.keys import Keys
# import os,time
#
# driver = webdriver.Ie()
# driver.get("http://10.30.17.12/")
# time.sleep(3)
# driver.maximize_window()
#
# driver.find_element_by_id("j_username").clear()
# driver.find_element_by_id("j_username").send_keys("dengyuehua")
# driver.find_element_by_id("j_password").clear()
# driver.find_element_by_id("j_password").send_keys("123456",Keys.ENTER)
# time.sleep(3)
#
# driver.quit()



#鼠标事件
# from selenium import webdriver
# from selenium.webdriver.common.action_chains import ActionChains
# driver = webdriver.Ie()
# driver.get("http://www.baidu.com")
#
# a = driver.find_element_by_link_text("设置")
# ActionChains(driver).move_to_element(a).perform()



